package jp.co.showbiz.admin.talent.action;

import java.io.File;
import java.util.HashMap;
import java.util.List;

import jp.co.showbiz.admin.talent.dao.TalentDao;
import jp.co.showbiz.admin.talent.imp.TalentDto;
import jp.co.showbiz.admin.talent.imp.TalentImpl;
import jp.co.showbiz.admin.talent.imp.TalentPickupDto;
import jp.co.showbiz.common.base.BaseActionSupport;
import jp.co.showbiz.common.base.BaseBean;
import jp.co.showbiz.common.entity.FileBean;
import jp.co.showbiz.common.entity.TalentBunyaMstBean;
import jp.co.showbiz.common.util.CommUtil;

public class TalentAction extends BaseActionSupport {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6650351589247845457L;
	
	private TalentDto dto;
	private TalentImpl impl;
	
	HashMap<String, String> globalMap;
	
	/////////////////////////////////////////////////////////
	
	// Flag value 
	private boolean listFlg;	// true		List
								// false	Search
	private boolean modifyFlg;	// true		Add 
								// false 	Edit
	private boolean groupFlg;
	private TalentDto tBean;
	private List<TalentDto> bean;
	private List<TalentBunyaMstBean> bunyaBean;
	private List<HashMap<String, Object>> listTalent;
	private List<HashMap<String, Object>> listTalentGroup;
	
	// Database Column
	private String talent_id;
	private String talent_kana;
	private String talent_eng;
	private String tanjoubi_date;
	private int bunya_id;
	private String debyuhi_date;
	private String sinchou;
	private String katudou_naiyou;
	private String jyushou_naiyou;
	private String upd_date;
	private String shoukai_naiyou;
	private String group_id;
	private String ins_date;
	private String bunya_name;
//	private String comment;
	private String img_path;
	
	// Search
	private String kanaKey;
	private int bunyaKey;
	
	// Content
	private String contentId;
	private String contentKubun;
	private String title;
	private String filePath;
	private int fileSize;
	private String comment;
	private String updDate;
	private String service_location_kubun;
	private File vgaFile;
	private File qvgaFile;
	private String vgaFileFileName;
	private String qvgaFileFileName;
	private String memberList;
	
	// Info Page
	private String fileFullPath;
	private FileBean thumb_vga;
	private FileBean thumb_qvga;
	
	// Page
	private HashMap<String, Integer> pageMap;
    private int curPage;
    
    //pick up
	private List<TalentDto> talentBean;
	private List<TalentPickupDto> pickupBean;
    private String talent_star;
    private String talent_pickup;
    private String talent_pickup_kubun;
    private String talent_pickup_name;
    private String talent_pickup_bunya;
    private String talent_pickup_naiyou;
    private String star_naiyou;
    private String pickup_naiyou;
    
    
    @Override
    public void prepare() throws Exception {
    	setGlobalMap();
    	
    	if(impl == null) {
    		impl = new TalentImpl(globalMap);
    	}
    	if(dto == null) {
    		dto = new TalentDto();
    	}
    	if(pageMap == null) {
    		pageMap = new HashMap<String, Integer>();
    	}
    	setBunyaBean(impl.getTalentBunyaList((BaseBean)bunyaBean));
    }
    
	private void setGlobalMap() {
		// TODO Auto-generated method stub
		globalMap = new HashMap<String, String>();
		
		globalMap.put("path_base", getText("globe.path.base"));
		globalMap.put("path_photo", getText("globe.path.photo"));
		globalMap.put("vga_thumb", getText("file.vga.thumb"));
		globalMap.put("qvga_thumb", getText("file.qvga.thumb"));
		globalMap.put("name_talent", getText("file.name.talent"));

	}

	//=======================================================
	//		Action処理
	//===========================<Start>=====================
    
	public String execute() throws Exception {
		logger.debug("execute()");
		return SUCCESS;
	}
	
	public String list() throws Exception{
		logger.debug("list()");
		setListFlg(true);
		tBean = new TalentDto();
		TalentImpl imp = new TalentImpl();
		this.setKanaKey(".");

//		setBunyaBean(imp.getTalentBunyaList((BaseBean)bunyaBean));
		bean = imp.getTalentList((BaseBean)tBean);
		
		pageMap = new HashMap<String, Integer>();
		logger.debug(imp.getTotalCount());
		pageMap = CommUtil.getPageInfo(curPage, Integer.parseInt(imp.getTotalCount()), 10, 10);
		int skip = pageMap.get("skip");
		bean = imp.getTalentListPage(tBean, skip, 10);
		tBean.setPageMap(pageMap);
		
		return SUCCESS;
	}
	
	public String info() throws Exception{
		logger.debug("info()");
		
		tBean = new TalentDto();
		tBean.setTalent_id(this.getTalent_id());
		tBean = impl.getTalent(tBean);
		setThisData();
		
		//////////////////////////////////////////////////////////////
		
		dto.setTalent_id(getTalent_id());
		
		impl.getTalentContent(dto);
		setComment(dto.getComment());
		setFileFullPath(dto.getFileFullPath());
		
		return SUCCESS;
	}
	
	public String search() throws Exception{
		logger.debug("search()");
		
		setListFlg(false);
		
		tBean = new TalentDto();
		TalentImpl imp = new TalentImpl();
		
		tBean.setKanaKey(this.getKanaKey());
		tBean.setBunyaKey(this.getBunyaKey());
		
		if(this.getKanaKey() == "."){
			tBean.setKanaKey(".");
		}
		tBean.setKanaKey(searchNameChange(getKanaKey()));
		
//		setBunyaBean(imp.getTalentBunyaList((BaseBean)bunyaBean));
		bean = imp.getTalentSearchList((BaseBean)tBean);
		
		pageMap = new HashMap<String, Integer>();
		logger.debug(imp.getSearchCount((BaseBean)tBean));
		pageMap = CommUtil.getPageInfo(curPage, Integer.parseInt(imp.getSearchCount((BaseBean)tBean)), 10, 10);
		int skip = pageMap.get("skip");
		bean = imp.getTalentSearchListPage(tBean, skip, 10);
		tBean.setPageMap(pageMap);
		return SUCCESS;
	}
	
	public String insertPage() throws Exception{
		logger.debug("insertPage()");
				
		setModifyFlg(true);
//		setBunyaBean(impl.getTalentBunyaList((BaseBean)bunyaBean));

		return SUCCESS;
	}
	
	public String insert() throws Exception{
		logger.debug("insert()");
		
		dto.setContentKubun("PH");
		dto.setTitle("TALENT_PICKUP");
		dto.setService_location_kubun("TP");
		if(getGroupFlg() == true){
			dto.setGroup_id("0");
		}
		setData(dto);
		
		impl.talentInsert(dto);					// T_TALENT_MST
		impl.talentContentInsertPI(dto);		// T_CONTENT_MST 
		impl.talentContentInsertTA(dto);		// T_TALENT_CONTENT
		
		return SUCCESS;
	}

	public String modifyPage() throws Exception{
		logger.debug("modifyPage()");
		
		setModifyFlg(false);
		tBean = new TalentDto();
		tBean.setTalent_id(this.getTalent_id());
		
		tBean = impl.getTalent(tBean);
//		setBunyaBean(impl.getTalentBunyaList((BaseBean)bunyaBean));
		setThisData();
		TalentDto bean = new TalentDto();
		setData(bean);
		
		///////////////////////////////////////////////////////
		
		dto.setTalent_id(getTalent_id());
		
		impl.getTalentContent(dto);
		setComment(dto.getComment());
		setFilePath(dto.getFilePath());
		setVgaFileFileName(dto.getVgaFileFileName());
		setQvgaFileFileName(dto.getQvgaFileFileName());
		
		return SUCCESS;
	}
	
	public String modify() throws Exception{
		logger.debug("TalentAction - modify()");
		setData(dto);
		
		TalentDao dao = new TalentDao();
		dao.update(dto);
		
		// グループを設定
		if(getMemberList() != null){
			impl.groupDelete(dto);
			String mList[] = getMemberList().split(", ");
			for(int i = 0; i < mList.length; i++){
				dto.setMember_id(mList[i]);
				logger.debug(dto.getMember_id());
				logger.debug(dto.getTalent_id());
				impl.groupUpdate(dto);
			}
		}
		/////////////////////////////////////////////////////////
		
		setData(dto);
		
		dto.setTalentId(getTalent_id());
		dto.setContentId(String.valueOf(impl.getContent_Id(getTalent_id())));
		impl.talentContentUpdatePI(dto);
		
		return SUCCESS;
	}
	
	public String delete() throws Exception{
		logger.debug("TalentAction - delete()");
		
		TalentDto bean = new TalentDto();
		
		bean.setTalent_id(getTalent_id());
		
		TalentDao dao = new TalentDao();
		dao.delete(bean);
		
		return SUCCESS;
	}
	//=======================<End>=================================
	
	//=======================================================
	//		Member Method処理
	//===========================<Start>=====================
	public void setData(TalentDto dto) {
		dto.setTalent_id(getTalent_id());
		dto.setTalent_kana(getTalent_kana());
		dto.setTalent_eng(getTalent_eng());
		dto.setTanjoubi_date(getTanjoubi_date().equals("") ? null : getTanjoubi_date());
		dto.setBunya_id(getBunya_id());
		dto.setDebyuhi_date(getDebyuhi_date());
		dto.setSinchou(getSinchou());
		dto.setKatudou_naiyou(getKatudou_naiyou().replace("\r\n", "<br />"));
		dto.setJyushou_naiyou(getJyushou_naiyou().replace("\r\n", "<br />"));
		dto.setUpd_date(getUpd_date());
		dto.setShoukai_naiyou(getShoukai_naiyou());
		dto.setBunya_name(getBunya_name());
		dto.setComment(getComment());
		dto.setFilePath(getFilePath());
		dto.setThumb_vga(thumb_vga);
		dto.setThumb_qvga(thumb_qvga);
		
		
		dto.setVgaFile(getVgaFile());
		dto.setQvgaFile(getQvgaFile());
		dto.setVgaFileFileName(getVgaFileFileName());
		dto.setQvgaFileFileName(getQvgaFileFileName());
	}
	
	public void setThisData() {
		setTalent_id(tBean.getTalent_id());
		setTalent_kana(tBean.getTalent_kana());
		setTalent_eng(tBean.getTalent_eng());
		setTanjoubi_date(tBean.getTanjoubi_date());
		setBunya_id(tBean.getBunya_id());
		setDebyuhi_date(tBean.getDebyuhi_date());
		setSinchou(tBean.getSinchou());
		setKatudou_naiyou(tBean.getKatudou_naiyou().replace("<br />", "\r\n"));
		setJyushou_naiyou(tBean.getJyushou_naiyou().replace("<br />", "\r\n"));
		setUpd_date(tBean.getUpd_date());
		setShoukai_naiyou(tBean.getShoukai_naiyou());
		if(tBean.getGroup_id() != null){
			if(tBean.getGroup_id().equals("0")){
				setGroupFlg(true);}}
		setBunya_name(tBean.getBunya_name());
		setComment(tBean.getComment());
		setImg_path(setImgPath(tBean));
		setListTalent(tBean.getListTalent());
		setListTalentGroup(tBean.getListTalentGroup());
	}
	public String setImgPath(TalentDto bean2){
		String path = null;
		if(bean2.getThimb_vga_filename() != null && !bean2.getThimb_vga_filename().equals("")){
			path = bean2.getFilePath() + bean2.getThimb_vga_filename();
		}else if(bean2.getThimb_qvga_filename() != null && !bean2.getThimb_qvga_filename().equals("")){
			path = bean2.getFilePath() + bean2.getThimb_qvga_filename();
		}
		
		return path;
	}
	
	public String pickup() throws Exception{
		TalentImpl imp = new TalentImpl();
		talentBean = imp.getTalentList();
		pickupBean = imp.getPickupList();
		return SUCCESS;
	}
	
	public String pickupReg() throws Exception{
		TalentImpl imp = new TalentImpl();
		
		if (talent_pickup_kubun.equals("SN")) {
			if (talent_star == null || talent_star.equals("")){
				addActionError("タレントが選択されていません。");
				talentBean = imp.getTalentList();
				pickupBean = imp.getPickupList();
				return INPUT;
			}else{
				imp.regTalentPickup("SN", talent_star, getStar_naiyou());
			}
		}else if (talent_pickup_kubun.equals("SP")) {
			if (talent_pickup == null || talent_pickup.equals("")){
				addActionError("タレントが選択されていません。");
				talentBean = imp.getTalentList();
				pickupBean = imp.getPickupList();
				return INPUT;
			}
			imp.regTalentPickup("SP", talent_pickup, getPickup_naiyou());
		}
		
		return SUCCESS;
	}
	
	// グループ検索設定
	public String searchGroupChange(String searchGroup){
		if(searchGroup.equals("0")){searchGroup = "^0$";}
		else if(searchGroup.equals("1")){searchGroup = "^[1-9]";}
		return searchGroup;
	}
	
	// 50音検索設定
	public String searchNameChange(String searchName){
		if(searchName.equals("0")){searchName = ".";}
		else if(searchName.equals("1")){searchName = "^ア|^イ|^ウ|^エ|^オ|^ｱ|^ｲ|^ｳ|^ｴ|^ｵ.";}
		else if(searchName.equals("2")){searchName = "^カ|^キ|^ク|^ケ|^コ|^ガ|^ギ|^グ|^ゲ|^ゴ|^ｶ|^ｷ|^ｸ|^ｹ|^ｺ|^ｶﾞ|^ｷﾞ|^ｸﾞ|^ｹﾞ|^ｺﾞ.";}
		else if(searchName.equals("3")){searchName = "^サ|^シ|^ス|^セ|^ソ|^ザ|^ジ|^ズ|^ゼ|^ゾ|^ｻ|^ｼ|^ｽ|^ｾ|^ｿ|^ｻﾞ|^ｼﾞ|^ｽﾞ|^ｾﾞ|^ｿﾞ.";}
		else if(searchName.equals("4")){searchName = "^タ|^チ|^ツ|^テ|^ト|^ダ|^ヂ|^ヅ|^デ|^ド|^ﾀ|^ﾁ|^ﾂ|^ﾃ|^ﾄ|^ﾀﾞ|^ﾁﾞ|^ﾂﾞ|^ﾃﾞ|^ﾄﾞ.";}
		else if(searchName.equals("5")){searchName = "^ナ|^ニ|^ヌ|^ネ|^ノ|^ﾅ|^ﾆ|^ﾇ|^ﾈ|^ﾉ.";}
		else if(searchName.equals("6")){searchName = "^ハ|^ヒ|^フ|^ヘ|^ホ|^バ|^ビ|^ブ|^ベ|^ボ|^パ|^ピ|^プ|^ペ|^ポ|^ﾊ|^ﾋ|^ﾌ|^ﾍ|^ﾎ|^ﾊﾞ|^ﾋﾞ|^ﾌﾞ|^ﾍﾞ|^ﾎﾞ|^ﾊﾟ|^ﾋﾟ|^ﾌﾟ|^ﾍﾟ|^ﾎﾟ.";}
		else if(searchName.equals("7")){searchName = "^マ|^ミ|^ム|^メ|^モ|^ﾏ|^ﾐ|^ﾑ|^ﾒ|^ﾓ.";}
		else if(searchName.equals("8")){searchName = "^ヤ|^ユ|^ヨ|^ﾔ|^ﾕ|^ﾖ.";}
		else if(searchName.equals("9")){searchName = "^ラ|^リ|^ル|^レ|^ロ|^ﾗ|^ﾘ|^ﾙ|^ﾚ|^ﾛ.";}
		else if(searchName.equals("10")){searchName = "^ワ|^ﾜ|^[a-z]|^[0-9]";}
		
		return searchName;
	}
	
	//=======================<End>=================================
	
	//===============================================================
	//		画面引渡しパラメタGet,Set
	//=======================<Start>=================================
	
	
	public boolean isListFlg() {
		return listFlg;
	}
	public TalentImpl getImpl() {
		return impl;
	}

	public void setImpl(TalentImpl impl) {
		this.impl = impl;
	}

	public HashMap<String, String> getGlobalMap() {
		return globalMap;
	}

	public void setGlobalMap(HashMap<String, String> globalMap) {
		this.globalMap = globalMap;
	}

	public void setListFlg(boolean listFlg) {
		this.listFlg = listFlg;
	}	
	public boolean getModifyFlg() {
		return modifyFlg;
	}
	public void setModifyFlg(boolean modifyFlg) {
		this.modifyFlg = modifyFlg;
	}
	public boolean getGroupFlg() {
		return groupFlg;
	}
	public void setGroupFlg(boolean groupFlg) {
		this.groupFlg = groupFlg;
	}
	public TalentDto getTBean() {
		return tBean;
	}
	public void setTBean(TalentDto bean) {
		tBean = bean;
	}
	public List<TalentDto> getBean() {
		return bean;
	}
	public void setBean(List<TalentDto> bean) {
		this.bean = bean;
	}
	public List<TalentBunyaMstBean> getBunyaBean() {
		return bunyaBean;
	}
	public void setBunyaBean(List<TalentBunyaMstBean> bunyaBean) {
		this.bunyaBean = bunyaBean;
	}
	public List<HashMap<String, Object>> getListTalent() {
		return listTalent;
	}
	public void setListTalent(List<HashMap<String, Object>> listTalent) {
		this.listTalent = listTalent;
	}
	public List<HashMap<String, Object>> getListTalentGroup() {
		return listTalentGroup;
	}
	public void setListTalentGroup(List<HashMap<String, Object>> listTalentGroup) {
		this.listTalentGroup = listTalentGroup;
	}
	public String getTalent_id() {
		return talent_id;
	}
	public void setTalent_id(String talent_id) {
		this.talent_id = talent_id;
	}
	public String getTalent_kana() {
		return talent_kana;
	}
	public void setTalent_kana(String talent_kana) {
		this.talent_kana = talent_kana;
	}
	public String getTalent_eng() {
		return talent_eng;
	}
	public void setTalent_eng(String talent_eng) {
		this.talent_eng = talent_eng;
	}
	public String getTanjoubi_date() {
		return tanjoubi_date;
	}
	public void setTanjoubi_date(String tanjoubi_date) {
		this.tanjoubi_date = tanjoubi_date;
	}
	public int getBunya_id() {
		return bunya_id;
	}
	public void setBunya_id(int bunya_id) {
		this.bunya_id = bunya_id;
	}
	public String getDebyuhi_date() {
		return debyuhi_date;
	}
	public void setDebyuhi_date(String debyuhi_date) {
		this.debyuhi_date = debyuhi_date;
	}

	public String getSinchou() {
		return sinchou;
	}
	public void setSinchou(String sinchou) {
		this.sinchou = sinchou;
	}
	public String getKatudou_naiyou() {
		return katudou_naiyou;
	}
	public void setKatudou_naiyou(String katudou_naiyou) {
		this.katudou_naiyou = katudou_naiyou;
	}
	public String getJyushou_naiyou() {
		return jyushou_naiyou;
	}
	public void setJyushou_naiyou(String jyushou_naiyou) {
		this.jyushou_naiyou = jyushou_naiyou;
	}
	public String getUpd_date() {
		return upd_date;
	}
	public void setUpd_date(String upd_date) {
		this.upd_date = upd_date;
	}
	public String getShoukai_naiyou() {
		return shoukai_naiyou;
	}
	public void setShoukai_naiyou(String shoukai_naiyou) {
		this.shoukai_naiyou = shoukai_naiyou;
	}
	public String getGroup_id() {
		return group_id;
	}
	public void setGroup_id(String group_id) {
		this.group_id = group_id;
	}
	public String getIns_date() {
		return ins_date;
	}
	public void setIns_date(String ins_date) {
		this.ins_date = ins_date;
	}
	public String getBunya_name() {
		return bunya_name;
	}
	public void setBunya_name(String bunya_name) {
		this.bunya_name = bunya_name;
	}
	public String getKanaKey() {
		return kanaKey;
	}
	public void setKanaKey(String kanaKey) {
		this.kanaKey = kanaKey;
	}
	public int getBunyaKey() {
		return bunyaKey;
	}
	public void setBunyaKey(int bunyaKey) {
		this.bunyaKey = bunyaKey;
	}
	
	public String getContentId() {
		return contentId;
	}

	public void setContentId(String contentId) {
		this.contentId = contentId;
	}

	public String getContentKubun() {
		return contentKubun;
	}

	public void setContentKubun(String contentKubun) {
		this.contentKubun = contentKubun;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public int getFileSize() {
		return fileSize;
	}

	public void setFileSize(int fileSize) {
		this.fileSize = fileSize;
	}

	public String getUpdDate() {
		return updDate;
	}

	public void setUpdDate(String updDate) {
		this.updDate = updDate;
	}

	public File getVgaFile() {
		return vgaFile;
	}

	public void setVgaFile(File vgaFile) {
		this.vgaFile = vgaFile;
	}

	public File getQvgaFile() {
		return qvgaFile;
	}

	public void setQvgaFile(File qvgaFile) {
		this.qvgaFile = qvgaFile;
	}
	
	public String getVgaFileFileName() {
		return vgaFileFileName;
	}

	public void setVgaFileFileName(String vgaFileFileName) {
		this.vgaFileFileName = vgaFileFileName;
	}

	public String getQvgaFileFileName() {
		return qvgaFileFileName;
	}

	public void setQvgaFileFileName(String qvgaFileFileName) {
		this.qvgaFileFileName = qvgaFileFileName;
	}
	
	public String getMemberList() {
		return memberList;
	}

	public void setMemberList(String memberList) {
		this.memberList = memberList;
	}

	public String getFileFullPath() {
		return fileFullPath;
	}

	public void setFileFullPath(String fileFullPath) {
		this.fileFullPath = fileFullPath;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public HashMap<String, Integer> getPageMap() {
		return pageMap;
	}
	public void setPageMap(HashMap<String, Integer> pageMap) {
		this.pageMap = pageMap;
	}
	public int getCurPage() {
		return curPage;
	}
	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}

	public String getImg_path() {
		return img_path;
	}

	public void setImg_path(String img_path) {
		this.img_path = img_path;
	}

	public FileBean getThumb_vga() {
		return thumb_vga;
	}

	public void setThumb_vga(FileBean thumb_vga) {
		this.thumb_vga = thumb_vga;
	}

	public FileBean getThumb_qvga() {
		return thumb_qvga;
	}

	public void setThumb_qvga(FileBean thumb_qvga) {
		this.thumb_qvga = thumb_qvga;
	}

	public String getService_location_kubun() {
		return service_location_kubun;
	}

	public void setService_location_kubun(String service_location_kubun) {
		this.service_location_kubun = service_location_kubun;
	}

	public List<TalentDto> getTalentBean() {
		return talentBean;
	}

	public void setTalentBean(List<TalentDto> talentBean) {
		this.talentBean = talentBean;
	}

	public String getTalent_star() {
		return talent_star;
	}

	public void setTalent_star(String talent_star) {
		this.talent_star = talent_star;
	}

	public String getTalent_pickup() {
		return talent_pickup;
	}

	public void setTalent_pickup(String talent_pickup) {
		this.talent_pickup = talent_pickup;
	}

	public String getTalent_pickup_kubun() {
		return talent_pickup_kubun;
	}

	public void setTalent_pickup_kubun(String talent_pickup_kubun) {
		this.talent_pickup_kubun = talent_pickup_kubun;
	}

	public String getTalent_pickup_name() {
		return talent_pickup_name;
	}

	public void setTalent_pickup_name(String talent_pickup_name) {
		this.talent_pickup_name = talent_pickup_name;
	}

	public String getTalent_pickup_bunya() {
		return talent_pickup_bunya;
	}

	public void setTalent_pickup_bunya(String talent_pickup_bunya) {
		this.talent_pickup_bunya = talent_pickup_bunya;
	}
	
	public String getTalent_pickup_naiyou() {
		return talent_pickup_naiyou;
	}

	public void setTalent_pickup_naiyou(String talent_pickup_naiyou) {
		this.talent_pickup_naiyou = talent_pickup_naiyou;
	}

	public String getStar_naiyou() {
		return star_naiyou;
	}

	public void setStar_naiyou(String star_naiyou) {
		this.star_naiyou = star_naiyou;
	}

	public String getPickup_naiyou() {
		return pickup_naiyou;
	}

	public void setPickup_naiyou(String pickup_naiyou) {
		this.pickup_naiyou = pickup_naiyou;
	}

	public List<TalentPickupDto> getPickupBean() {
		return pickupBean;
	}

	public void setPickupBean(List<TalentPickupDto> pickupBean) {
		this.pickupBean = pickupBean;
	}

	public TalentDto getDto() {
		return dto;
	}

	public void setDto(TalentDto dto) {
		this.dto = dto;
	}
	
	
	//=======================<End>=================================		
}
